﻿using System;
using System.Collections.Generic;

namespace Sherwood.Content.Tasks
{
    public interface ITaskManager
    {
        TTask CreateNew<TTask>(params object[] parameters) where TTask : class, ITask;
        IEnumerable<ITask> GetExecutableTasks();
        event EventHandler<TasksCreatedEventArgs> TasksCreated;
        DateTime GetNextTaskExecution();
    }
}